﻿@model WeProjectsModel.Notice

@{
    ViewBag.Title = "Details";
}
<style type="text/css">
    table tr td:first-child {
        width: 80px;
    }

    table td {
        padding-left: 10px;
        text-align: left !important;
    }
</style>

<h2>通知详细</h2>
<p class="buttonIn">
    @if (Roles.IsUserInRole("sysadmin"))
    {
        @Html.ActionLink("编辑", "Edit", new { id = Model.ID })}
    @Html.ActionLink("返回列表", "Index")
</p>

<h3 class="text-center" style="padding-top:10px;padding-bottom:7px;">@Html.DisplayFor(model => model.Title)</h3>
<p class="text-center">@Html.DisplayFor(model => model.PublishDate)</p>
<div style="padding-top:10px;padding-bottom:10px;">
    @Html.Raw(Model.NoticeContent)
</div>

